<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="css/bootstrap.min.css">
</head>
<body style="padding: 50px;">
    <form>
        <div class="form-group">
            <label>输入框</label>
            <input type="text" class="form-control" placeholder="请输入文本">
        </div>
        <div class="form-group">
            <label>文本框</label>
            <textarea class="form-control" cols="30" rows="10"></textarea>
        </div>
        <div class="form-group">
            <button class="btn btn-primary">提交</button>
        </div>
        <div class="checkbox">
            <label>
                <input type="checkbox">抽烟
            </label>
        </div>
        <div class="checkbox">
            <label>
                <input type="checkbox">喝酒
            </label>
        </div>
        <hr>
        <div class="checkbox-inline">
            <label>
                <input type="checkbox">抽烟
            </label>
        </div>
        <div class="checkbox-inline">
            <label>
                <input type="checkbox">喝酒
            </label>
        </div>
        <hr>
        <div class="btn-group" data-toggle="buttons">
            <label class="btn btn-primary">
                <input type="checkbox">音乐
            </label>
            <label class="btn btn-primary">
                <input type="checkbox">音乐
            </label>
            <label class="btn btn-primary">
                <input type="checkbox">音乐
            </label>
        </div>
        <hr>
        <label class="radio">
            <input type="radio" name="sex">男
        </label>
        <label class="radio">
            <input type="radio" name="sex">女
        </label>
        <hr>
        <div class="btn-group" data-toggle="buttons">
            <label class="btn btn-sm">
                <input type="radio" name="sex">男
            </label>
            <label class="btn btn-sm">
                <input type="radio" name="sex">女
            </label>
        </div>
    </form>

    <script src="js/jquery-3.3.1.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
</body>
</html>